home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / shore_siege.swf / scripts / DefineButton2_468 / BUTTONCONDACTION on(release).as
Text File  |  2011-08-19  |  227b  |  15 lines

  1. on(release){
  2.    if(_root.mus == undefined)
  3.    {
  4.       _root.mus = false;
  5.       mus = "Off";
  6.       stopAllSounds();
  7.    }
  8.    else
  9.    {
  10.       _root.mus = undefined;
  11.       mus = "On";
  12.       _root.MUSIC.play();
  13.    }
  14. }
  15.